package org.dromara.visitor.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.dromara.visitor.domain.dto.PhoneBookAddReq;
import org.dromara.visitor.domain.dto.PhoneBookImportExcel;
import org.dromara.visitor.domain.dto.PhoneBookQueryReq;
import org.dromara.visitor.domain.dto.PhoneBookResp;
import org.dromara.visitor.domain.entity.PhoneBook;

import java.util.List;

public interface PhoneBookService extends IService<PhoneBook> {
    void add(PhoneBookAddReq addReq);

    void setApproveLevel(Long id, Long approveId);

    void setBatchApproveLevel(List<Long> ids, Long approveId);

    Page<PhoneBookResp> listPage(PhoneBookQueryReq queryReq);

    void importExcel(List<PhoneBookImportExcel> list);
}
